package com.gjintel.business.proj.model;

import java.util.Date;

import javax.persistence.*;

import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name="t_proj_bid_change")
public class BidderChange {
	private String id;
	private String oldBidderId; //旧的中标人id
	private String oldBIdderName;
	private String newBidderId;//新中标人id
	private String newBidderName;
	private String projectId;
    private String resourceId; //附件资源id
    private String resourceName;//附件资源名称
    private Date updateTime;//更新时间
    private String operatorId;//操作人id
    private String operateName;
    private String changeReason;//变更原因
	private String projectCode;
	private String projectName;



    
    @Id
	@GeneratedValue(generator = "UIDGenerator")
	@GenericGenerator(name = "UIDGenerator", strategy = "org.hibernate.id.UUIDHexGenerator")	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	 @Column(name="old_bidder_id")
	public String getOldBidderId() {
		return oldBidderId;
	}
	public void setOldBidderId(String oldBidderId) {
		this.oldBidderId = oldBidderId;
	}
	
	 @Column(name="old_bidder_name")
	public String getOldBIdderName() {
		return oldBIdderName;
	}
	public void setOldBIdderName(String oldBIdderName) {
		this.oldBIdderName = oldBIdderName;
	}
	
	 @Column(name="new_bidder_id")
	public String getNewBidderId() {
		return newBidderId;
	}
	public void setNewBidderId(String newBidderId) {
		this.newBidderId = newBidderId;
	}
	
	 @Column(name="new_bidder_name")
	public String getNewBidderName() {
		return newBidderName;
	}
	public void setNewBidderName(String newBidderName) {
		this.newBidderName = newBidderName;
	}
	
	 @Column(name="project_id")
	public String getProjectId() {
		return projectId;
	}
	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}
	
	 @Column(name="resource_id")
	public String getResourceId() {
		return resourceId;
	}
	public void setResourceId(String resourceId) {
		this.resourceId = resourceId;
	}
	
	 @Column(name="update_time")
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
	 @Column(name="operator_id")
	public String getOperatorId() {
		return operatorId;
	}
	public void setOperatorId(String operatorId) {
		this.operatorId = operatorId;
	}
	
	 @Column(name="operator_name")
	public String getOperateName() {
		return operateName;
	}
	public void setOperateName(String operateName) {
		this.operateName = operateName;
	}
	
	 @Column(name="change_reason")
	public String getChangeReason() {
		return changeReason;
	}
	public void setChangeReason(String changeReason) {
		this.changeReason = changeReason;
	}
	
	@Column(name="resource_name")
	public String getResourceName() {
		return resourceName;
	}
	public void setResourceName(String resourceName) {
		this.resourceName = resourceName;
	}

    @Transient
	public String getProjectCode() {
		return projectCode;
	}

	public void setProjectCode(String projectCode) {
		this.projectCode = projectCode;
	}

	@Transient
	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}
}
